.header {
  padding: 10px;
  height: 50px;
  display: flex;
  align-items: center;
  box-sizing: border-box;
  background-color: #F5F5F7;

  &-left {

    display: flex;
    height: 100%;
    align-items: center;
  }

  &-title {
    font-size: 20px;
    margin-left: 10px;

  }
}

.code {
  &-editor {
    background-color: #ddd;
    height: calc(100vh - 90px);
    position: relative;

    &-run {
      position: absolute;
      right: 10px;
      top: 10px;
    }

    &-reload {
      position: absolute;
      right: 80px;
      top: 10px;
    }
  }

}

.preview {
  display: grid;
  grid-template-rows: 70% 30%;
  height: calc(100vh - 90px);

  &-area {
    background-color: #fff;
  }

  &-log {
    background-color: #eee;
    color: red;
    padding: 10px;
  }
}

.footer {
  background-color: #ddd;
  padding: 5px 50px;
  height: 40px;
  box-sizing: border-box;

  &-btn {
    display: inline-flex;
    text-align: center;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    height: 100%;
    box-sizing: border-box;
    background-color: #263544;
    cursor: pointer;
    border-radius: 20px;
    color: white;


  }
}